<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>aps.models.item.Item</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="aps-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="aps-module.html">Package&nbsp;aps</a> ::
        <a href="aps.models-module.html">Package&nbsp;models</a> ::
        <a href="aps.models.item-module.html">Module&nbsp;item</a> ::
        Class&nbsp;Item
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="aps.models.item.Item-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class Item</h1><p class="nomargin-top"><span class="codelink"><a href="aps.models.item-pysrc.html#Item">source&nbsp;code</a></span></p>
<pre class="base-tree">
object --+    
         |    
 base.Base --+
             |
            <strong class="uidshort">Item</strong>
</pre>

<hr />
<p>Clase que crea la tabla Item</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="aps.models.item.Item-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">numfase</span>,
        <span class="summary-sig-arg">nombre</span>,
        <span class="summary-sig-arg">descripcion</span>,
        <span class="summary-sig-arg">version</span>,
        <span class="summary-sig-arg">prioridad</span>,
        <span class="summary-sig-arg">complejidad</span>,
        <span class="summary-sig-arg">estado</span>,
        <span class="summary-sig-arg">idlineabase</span>,
        <span class="summary-sig-arg">idtipoitem</span>,
        <span class="summary-sig-arg">idfase</span>)</span><br />
      Metodo de instancia constructor que inicializa los parametros del 
      objeto item</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="aps.models.item-pysrc.html#Item.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="aps.models.item.Item-class.html#eliminar_dependencias" class="summary-sig-name">eliminar_dependencias</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Metodo de instancia que elimina todas los relaciones de un registro 
      de la tabla Items para que pueda ser eliminado.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="aps.models.item-pysrc.html#Item.eliminar_dependencias">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="aps.models.item.Item-class.html#get_antecesores" class="summary-sig-name">get_antecesores</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">tipo</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">ALL</code><code class="variable-quote">'</code></span>)</span><br />
      Metodo que retorna las relaciones existentes entre el item y sus 
      antecesores.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="aps.models.item-pysrc.html#Item.get_antecesores">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="aps.models.item.Item-class.html#get_sucesores" class="summary-sig-name">get_sucesores</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">tipo</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string">ALL</code><code class="variable-quote">'</code></span>)</span><br />
      Metodo que retorna las relaciones existentes entre el item y sus 
      sucesores.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="aps.models.item-pysrc.html#Item.get_sucesores">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="aps.models.item.Item-class.html#get_relaciones" class="summary-sig-name">get_relaciones</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">version</span>=<span class="summary-sig-default">-1</span>)</span><br />
      Metodo que retorna todas las relaciones del item en una version dada.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="aps.models.item-pysrc.html#Item.get_relaciones">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="aps.models.item.Item-class.html#hijos_aprobados" class="summary-sig-name">hijos_aprobados</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Metodo que indica si todos los hijos de un item se encuentran 
      aprobados</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="aps.models.item-pysrc.html#Item.hijos_aprobados">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="aps.models.item.Item-class.html#padres_aprobados" class="summary-sig-name">padres_aprobados</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Metodo que indica si todos los padres de un item se encuentran 
      aprobados</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="aps.models.item-pysrc.html#Item.padres_aprobados">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="aps.models.item.Item-class.html#diff" class="summary-sig-name">diff</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">version</span>)</span><br />
      Metodo que indica las diferencias entre los atributos de la version 
      actual del item con otra version anterior.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="aps.models.item-pysrc.html#Item.diff">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__repr__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__str__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="__tablename__"></a><span class="summary-name">__tablename__</span> = <code title="'item'"><code class="variable-quote">'</code><code class="variable-string">item</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="id"></a><span class="summary-name">id</span> = <code title="Column(Integer, Sequence('item_id_seq'), primary_key= True)">Column(Integer, Sequence('item_id_seq'), primary_key= True)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="numfase"></a><span class="summary-name">numfase</span> = <code title="Column(Text)">Column(Text)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="nombre"></a><span class="summary-name">nombre</span> = <code title="Column(Text, nullable= False)">Column(Text, nullable= False)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="descripcion"></a><span class="summary-name">descripcion</span> = <code title="Column(Text)">Column(Text)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="version"></a><span class="summary-name">version</span> = <code title="Column(Integer, nullable= False)">Column(Integer, nullable= False)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="prioridad"></a><span class="summary-name">prioridad</span> = <code title="Column(Integer, nullable= False)">Column(Integer, nullable= False)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="complejidad"></a><span class="summary-name">complejidad</span> = <code title="Column(Integer, nullable= False)">Column(Integer, nullable= False)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="estado"></a><span class="summary-name">estado</span> = <code title="Column(Text, nullable= False)">Column(Text, nullable= False)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="idlineabase"></a><span class="summary-name">idlineabase</span> = <code title="Column(Integer, ForeignKey('lineabasea.id'))">Column(Integer, ForeignKey('lineabasea.id'))</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="idtipoitem"></a><span class="summary-name">idtipoitem</span> = <code title="Column(Integer, ForeignKey('tipoitem.id'))">Column(Integer, ForeignKey('tipoitem.id'))</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="idfase"></a><span class="summary-name">idfase</span> = <code title="Column(Integer, ForeignKey('fase.id'))">Column(Integer, ForeignKey('fase.id'))</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="tipoitem"></a><span class="summary-name">tipoitem</span> = <code title="relationship(&quot;Tipoitem&quot;, backref= &quot;items&quot;)">relationship(&quot;Tipoitem&quot;, backref= &quot;items&quot;)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="aps.models.item.Item-class.html#valoratributo_x_version" class="summary-name">valoratributo_x_version</a> = <code title="relationship(&quot;ItemAtributoValor&quot;, backref= &quot;item&quot;)">relationship(&quot;ItemAtributoValor&quot;, ba<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="fase"></a><span class="summary-name">fase</span> = <code title="relationship(&quot;Fase&quot;)">relationship(&quot;Fase&quot;)</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="__mapper__"></a><span class="summary-name">__mapper__</span> = <code title="&lt;Mapper at 0x393b6d0; Item&gt;">&lt;Mapper at 0x393b6d0; Item&gt;</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="aps.models.item.Item-class.html#__table__" class="summary-name">__table__</a> = <code title="Table('item', MetaData(bind=None), Column('id', Integer(), table=&lt;item\
&gt;, primary_key=True, nullable=False, default=Sequence('item_id_seq', m\
etadata=MetaData(bind=None))), Column('numfase', Text(), table=&lt;item&gt;)\
, Column('nombre', Text(), table=&lt;item&gt;, nullable=False), Column('desc\
ripcion', Text(), table=&lt;item&gt;), Column('version', Integer(), table=&lt;i\
tem&gt;, nullable=False), Column('prioridad', Integer(), table=&lt;item&gt;, nu\
llable=False), Column('complejidad', Integer(), table=&lt;item&gt;, nullable\
=False), Column('estado', Text(), table=&lt;item&gt;, nullable=False), Colum\
...">Table('item', MetaData(bind=None), Column('id', In<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="aps.models.item.Item-class.html#_sa_class_manager" class="summary-name" onclick="show_private();">_sa_class_manager</a> = <code title="&lt;ClassManager of &lt;class 'aps.models.item.Item'&gt; at 39c5ab0&gt;">&lt;ClassManager of &lt;class 'aps.models.item.I<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>base.Base</code></b>:
      <code>metadata</code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>base.Base</code></b> (private):
      <code>_decl_class_registry</code>
      </p></div>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Properties</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Properties"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">numfase</span>,
        <span class="sig-arg">nombre</span>,
        <span class="sig-arg">descripcion</span>,
        <span class="sig-arg">version</span>,
        <span class="sig-arg">prioridad</span>,
        <span class="sig-arg">complejidad</span>,
        <span class="sig-arg">estado</span>,
        <span class="sig-arg">idlineabase</span>,
        <span class="sig-arg">idtipoitem</span>,
        <span class="sig-arg">idfase</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="aps.models.item-pysrc.html#Item.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Metodo de instancia constructor que inicializa los parametros del 
  objeto item</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>numfase</code></strong> (Text) - campo que indica la numeracion del item dentro de una fase</li>
        <li><strong class="pname"><code>nombre</code></strong> (Text) - campo que almacenara el nombre del item</li>
        <li><strong class="pname"><code>nombre</code></strong> (Text) - campo que almacenara la descripcion del item</li>
        <li><strong class="pname"><code>version</code></strong> (Integer) - campo que almacenara la version del item</li>
        <li><strong class="pname"><code>prioridad</code></strong> (Integer) - campo que almacenara la prioridad del item</li>
        <li><strong class="pname"><code>complejidad</code></strong> (Integer) - campo que almacenara la complejidad del item</li>
        <li><strong class="pname"><code>estado</code></strong> (Text) - campo que almacenara el estado del item</li>
        <li><strong class="pname"><code>idlineabase</code></strong> (Integer) - campo que indica a que linea base pertenece el item</li>
        <li><strong class="pname"><code>idtipoitem</code></strong> (Integer) - campo que indica el tipo del item</li>
        <li><strong class="pname"><code>idfase</code></strong> (Integer) - campo que indicia la fase al que pertenece el item</li>
        <li><strong class="pname"><code>descripcion</code></strong> (Text)</li>
    </ul></dd>
    <dt>Overrides:
        object.__init__
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="eliminar_dependencias"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">eliminar_dependencias</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="aps.models.item-pysrc.html#Item.eliminar_dependencias">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Metodo de instancia que elimina todas los relaciones de un registro de
  la tabla Items para que pueda ser eliminado.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>self</code></strong> (item) - referencia al objeto que llama el metodo en este caso item.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="get_antecesores"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_antecesores</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">tipo</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">ALL</code><code class="variable-quote">'</code></span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="aps.models.item-pysrc.html#Item.get_antecesores">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Metodo que retorna las relaciones existentes entre el item y sus 
  antecesores.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>self</code></strong> (Item) - referencia al objeto que llama el metodo en este caso item.</li>
        <li><strong class="pname"><code>tipo</code></strong> (Integer) - especifica el tipo de relacion que se retorna</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="get_sucesores"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_sucesores</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">tipo</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string">ALL</code><code class="variable-quote">'</code></span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="aps.models.item-pysrc.html#Item.get_sucesores">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Metodo que retorna las relaciones existentes entre el item y sus 
  sucesores.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>self</code></strong> (Item) - referencia al objeto que llama el metodo en este caso item.</li>
        <li><strong class="pname"><code>tipo</code></strong> (Integer) - especifica el tipo de relacion que se retorna</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="get_relaciones"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_relaciones</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">version</span>=<span class="sig-default">-1</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="aps.models.item-pysrc.html#Item.get_relaciones">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Metodo que retorna todas las relaciones del item en una version 
  dada.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>self</code></strong> (Item) - referencia al objeto que llama el metodo en este caso item.</li>
        <li><strong class="pname"><code>version</code></strong> (Integer) - version en la cual queremos obtener las relaciones, por defecto 
          es la version actual.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="hijos_aprobados"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">hijos_aprobados</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="aps.models.item-pysrc.html#Item.hijos_aprobados">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Metodo que indica si todos los hijos de un item se encuentran 
  aprobados</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>self</code></strong> (Item) - referencia al objeto que llama el metodo en este caso item.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="padres_aprobados"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">padres_aprobados</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="aps.models.item-pysrc.html#Item.padres_aprobados">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Metodo que indica si todos los padres de un item se encuentran 
  aprobados</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>self</code></strong> (Item) - referencia al objeto que llama el metodo en este caso item.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="diff"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">diff</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">version</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="aps.models.item-pysrc.html#Item.diff">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Metodo que indica las diferencias entre los atributos de la version 
  actual del item con otra version anterior.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>self</code></strong> (Item) - referencia al objeto que llama al metodo.</li>
        <li><strong class="pname"><code>version</code></strong> (Integer) - version anterior del item a comparar</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== CLASS VARIABLE DETAILS ==================== -->
<a name="section-ClassVariableDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variable Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariableDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="valoratributo_x_version"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">valoratributo_x_version</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
relationship(&quot;ItemAtributoValor&quot;, backref= &quot;item&quot;)
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="__table__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">__table__</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
Table('item', MetaData(bind=None), Column('id', Integer(), table=&lt;item<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
&gt;, primary_key=True, nullable=False, default=Sequence('item_id_seq', m<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
etadata=MetaData(bind=None))), Column('numfase', Text(), table=&lt;item&gt;)<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
, Column('nombre', Text(), table=&lt;item&gt;, nullable=False), Column('desc<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
ripcion', Text(), table=&lt;item&gt;), Column('version', Integer(), table=&lt;i<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
tem&gt;, nullable=False), Column('prioridad', Integer(), table=&lt;item&gt;, nu<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
llable=False), Column('complejidad', Integer(), table=&lt;item&gt;, nullable<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
=False), Column('estado', Text(), table=&lt;item&gt;, nullable=False), Colum<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
<code class="variable-ellipsis">...</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="_sa_class_manager"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">_sa_class_manager</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
&lt;ClassManager of &lt;class 'aps.models.item.Item'&gt; at 39c5ab0&gt;
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="aps-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sat Jun  8 08:44:02 2013
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
